// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 引入 ECharts 主模块
let echarts = require('echarts/lib/echarts');
// 引入提示框和标题组件
require('echarts/lib/component/tooltip');
require('echarts/lib/component/title');
///*关系图*/
require("echarts/lib/chart/graph");
require("echarts/lib/component/legendScroll");
/*Echarts*/




/*引入element*/
  import { Checkbox,CheckboxGroup,Form,FormItem,Dialog,Table,TableColumn,Message} from 'element-ui';



import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts;
Vue.use(Checkbox)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(CheckboxGroup)
Vue.use(Dialog)
Vue.use(Table)
Vue.use(TableColumn)
Vue.prototype.$message = Message;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})


